package com.woniu.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 充值缴费表
 * @TableName recharge_fee
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class RechargeFee implements Serializable {
    /**
     * id
     */
    private Integer id;

    /**
     * 缴费编号
     */
    private String prNo;

    /**
     * 缴费金额
     */
    private BigDecimal prMoney;

    /**
     * 缴费时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date prDate;

    /**
     * 病人id
     */
    private Integer prCaseid;

    /**
     * 缴费类型
     */
    private String prType;

    private static final long serialVersionUID = 1L;
}